import { ref } from "vue";

export function useInputFocus() {
  let inputFocusFlag = ref(false);

  function inputFocus() {
    inputFocusFlag.value = true;
  }

  function inputBlur() {
    inputFocusFlag.value = false;
  }

  return {
    inputFocusFlag,
    inputFocus,
    inputBlur,
  };
}
